package org.dromara.system.domain.bo;

import org.dromara.system.domain.ProductsLine;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.system.domain.common.BasePageReqDTO;

/**
 * 产品线业务对象 products_line
 *
 * @author Lion Li
 * @date 2025-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ProductsLine.class, reverseConvertGenerate = false)
public class ProductsLineBo extends BasePageReqDTO {

    /**
     *
     */
    private Long id;

    private Long userId;

    /**
     * 产品线编码
     */
//    @NotBlank(message = "产品线编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     * 品类主键
     */
    @NotNull(message = "产品线ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long brandId;


    /**
     * 产品线名称
     */
    @NotBlank(message = "产品线名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lineName;

    /**
     * 图片
     */
    private String image;

    /**
     * 状态 0上架 1下架
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;


}
